feat: Rent-a-Relic Market - Book Authenticated Vintage Compute (#2312)#1812
feat: Rent-a-Relic Market - Book Authenticated Vintage Compute (#2312)#1812wsimon1982 wants to merge 1 commit intoScottcjn:mainfrom
Conversation
|
Hey @Scottcjn, I noticed that the BCOS v2 Engine Scan in this PR failed, but this is a workflow permission issue rather than a code error. The scan itself actually passed successfully (Trust Score: 60/100 | Tier L1 met: True), but the GitHub Action threw an This happens because the workflow doesn't have the required Adding the following to the BCOS v2 workflow YAML should fix it for future external contributions: permissions:
pull-requests: write
issues: writeThe |
|
Good submission for bounty #2312 — the FastAPI marketplace code with Ed25519 provenance receipts is solid. A few things to fix before merge: Must fix:
Nice to have: Once the whitespace noise is removed, this is mergeable. You were first to submit and the code is functional. Please push a fix and I will merge. Wallet noted: |
|
The relic marketplace code (relic_marketplace.py, 143 lines) looks reasonable, but this PR pads the diff with 4 files rewritten identically:
Please resubmit with ONLY the bounty directory files (README.md + relic_marketplace.py). Do not include files where additions == deletions -- those are reformats that make review harder and risk introducing line-ending issues. |
|
Hey @wsimon1982 — looking back at this, your Rent-a-Relic marketplace code (relic_marketplace.py) is actually solid. 143 lines, FastAPI endpoints, Ed25519 provenance. The PR was closed because it bundled 4 unrelated file rewrites. Would you be willing to resubmit with ONLY the marketplace files? Create a fresh branch from main, add just the bounty #2312 files, and submit a clean PR. We'll merge it. 60 RTC reserved for a clean resubmission. |
Closes Scottcjn/rustchain-bounties#2312
Implementation
This PR adds the core backend logic for the Rent-a-Relic Market allowing AI agents to book time on authenticated vintage machines.
GET /api/relics,POST /api/reserve,POST /api/pay,POST /api/executeTested locally. Payout wallet (RTC):
RTC1274aea37cc74eb889bf2abfd22fee274fc37706b